home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19981211-19990422
/
000139_news@watsun.cc.columbia.edu _Tue Jan 19 13:45:56 1999.msg
< prev
next >
Wrap
Internet Message Format
|
1999-04-21
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA15143
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 19 Jan 1999 13:45:54 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA16237
for kermit.misc@watsun.cc.columbia.edu; Tue, 19 Jan 1999 13:26:30 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: do11@calva.net (Dominique Ottello)
Subject: Re: not the same string with echo as with write file
Date: Tue, 19 Jan 1999 18:07:44 GMT
Organization: PCatHome&Me
Message-ID: <36a5c258.1103743@news.calvacom.fr>
To: kermit.misc@mailrelay2.cc.columbia.edu
Le 18 Jan 1999 17:53:40 GMT,
fdc@watsun.cc.columbia.edu (Frank da Cruz) �crivait :
> Try this:
>
> def print_PC open append \m(FileLog),-
> write file {\v(Time) \fcontents(\%1)\13\10},close write-file
I tried and ..... there is the same problem.
I also tried many, many commands and syntax : \Fcontents, \Fliteral, with
or without parameter \%1, with the macro \m(Affiche) in place of parameter
\%1, with the complete string in place of parameter \%, with commands open,
write file and close not inside a macro.... and, all times, the command
"write file" evaluates the string and always give me :
C:\A320�9M55\ECDD3022�90118.005
in place of
C:\A320\1459M55\ECDD3022\19990118.005
I bypass the problem by use of external DOS command echo and another macro
only for parameter that can be evaluated wrong
def print_PC_DOS run echo \v(Time) \%1 >> \m(Filelog)
I'll use this new macro only to correct the line where the problem is
because the use of DOS command echo generate CR/LF on the screen.
Thank you for your cooperation.
--
== Dominique Ottello == do11@calva.net == Paris == France ==